ws_dir = Pathname.new(__dir__)
ws_dir = ws_dir.parent until
  File.exist?("#{ws_dir}/node_modules/react-native-test-app/visionos/test_app.rb") ||
  ws_dir.expand_path.to_s == '/'
require "#{ws_dir}/node_modules/react-native-test-app/visionos/test_app.rb"

workspace 'date-time-picker-example.xcworkspace'

use_test_app! do |target|
  target.app do
    pod 'RNDateTimePicker', :path => '../../RNDateTimePicker.podspec'
  end
end
